package com.biglead.demo.service;


import com.biglead.demo.common.R;
import com.biglead.demo.pojo.Order;
import com.biglead.demo.vo.OrderVo;

public interface OrderService {


    R toSecKill(Long goodsId, Long userId, Long sn);

    OrderVo detailFromId(Long orderId);

    R createOrder(Long goodsId, Long userId, Long sn);

    R createPreOrder(Long goodsId, Long userId);

    R startOrderInit();

    OrderVo detailFromSn(Long sn);

    Order getOrderDetail(Long orderId);

    void updateOrderById(Order order);
}
